Skip to content

Conversation

Yukaii
Copy link
Member

@Yukaii Yukaii commented May 27, 2025

This pull request introduces new workflows and enhancements to the CI/CD pipeline for managing pre-releases and releases. The most notable changes include adding a new workflow for automating pre-releases to NPM from the develop branch, and improving the existing publish workflow by extracting the version from tags and creating draft releases on GitHub.

New Workflow for Pre-Releases:

  • .github/workflows/pre-release.yml: Added a new workflow to automate pre-releases to NPM. It generates a pre-release version from the develop branch, updates package.json, builds the project, publishes the pre-release to NPM with a beta tag, and creates a corresponding GitHub pre-release.

Enhancements to the Publish Workflow:

  • .github/workflows/publish.yml:
    • Added fetch-depth: 0 to the actions/checkout@v4 step to ensure full Git history is available.
    • Introduced a step to extract the version from the Git tag and store it in an environment variable.
    • Added a step to create a draft release on GitHub using the extracted version.

@Yukaii Yukaii merged commit 980f30b into develop May 27, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant